\documentclass[12pt]{jbook}
\usepackage{infoedu}
\usepackage{infoedu99}
%\usepackage{epic}
\usepackage{eepic}
\usepackage{dummyfloat}
\usepackage{makeidx}
\usepackage{ascmac}
\usepackage[dvipdfmx]{graphicx}
%\usepackage[dvips]{graphicx}
\usepackage{mediabb}
\usepackage{array}
\setcounter{secnumdepth}{4}

\makeindex
\begin{document}
\def\thisdocument{}
\def\endthisdocument{}
\def\documentclass[#1]#2{}
%\def\usepackage#1{}
\renewcommand{\usepackage}[1]{}
\def\thepage{\roman{page}}
\tableofcontents
\clearpage
\input{about.tex}
\cleardoublepage
\setcounter{page}{1}
\def\thepage{\arabic{page}}
% \def\abovecaptionskip{0pt}
\def\floatsep{20pt}
% \def\textfloatsep{30pt}

\makeatletter
\setlength\belowcaptionskip{10\p@}
\long\def\@makecaption#1#2{%
  \vskip\abovecaptionskip
  \iftdir\sbox\@tempboxa{\small#1\hskip1zw#2}%
    \else\sbox\@tempboxa{\small#1: #2}%
  \fi
  \ifdim \wd\@tempboxa >\hsize
    \iftdir {\small#1\hskip1zw#2}\relax\par
      \else {\small#1: #2}\relax\par\fi
  \else
    \global \@minipagefalse
    \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
  \fi
  \vskip\belowcaptionskip}
\makeatother


\input{chapter1.tex}
\input{chapter2.tex}
\input{chapter3.tex}
\input{chapter4.tex}
\input{chapter5.tex}
\input{chapter6.tex}
\input{chapter7.tex}
\input{appendix.tex}
%\clearpage
\printindex
\end{document}
